import bilibili_api
from bilibili_api import Credential
from video import Video


def func_main():
    sessdata = '038f6cce%2C1748835162%2Cfbfe4%2Ac2CjAMFr5QUp-vB3nCI9g9XsABdBhV30Vh_agaC3rs2DulThaV8i8omo9TdZQMcCeP1R4SVmdfZ3BYaF85dGNFVXlpaXV0cERYWVJHWW5EN0RkVks5NGFpcTYwd2FRQjdxXzRPUXZSSVA2NXhMWnhveXFCTGFaelpuYU95QVRBYTY2ZVhRZVY5R1VRIIEC'
    bili_jct = '2ebf546dec438655f13c7f9964234936'
    buvid3 = 'A1DC4C2E-6632-09CF-415B-478EF9C286C766934infoc'

    credential = Credential(sessdata=sessdata, bili_jct=bili_jct, buvid3=buvid3)

    lv_video = Video(credential=credential, bv='BV1goU1YGE6o')
    # lv_video.get_comment()
    # lv_video.method_get_danmaku()
    lv_video.method_loop_reply_comment()


if __name__ == '__main__':
    func_main()
